how to analyze a quadratic function to graph